package XML;
import java.util.*;

public class TagXML{
	public TagXML father=null;
	public ArrayList<TagXML> taguri = new ArrayList<TagXML>();
	public ArrayList<Atribute> atribute = new ArrayList<Atribute>();
	public String name;
	public String value;
	public AddAtribute atribAdder = new AddAtribute();
	public DeleteAtribute atribuDelete = new DeleteAtribute();
	public AddTag tagAdder = new AddTag();
	public DeleteTag tagDelete = new DeleteTag();

	public TagXML() {
		
	}

	public TagXML(TagXML Father){
		this.father=Father;
	}
	
	public TagXML(TagXML father, String name, String value){
		this.father=father;
		this.name=name;
		this.value=value;
	}
	
	public TagXML(TagXML father, String name){
		this.father = father;
		this.name = name;
	}
	
	public TagXML(String name){
		this.name=name;
	}
	
	public TagXML(String name, String value){
		this.name=name;
		this.value=value;
	}
	
	void addAttrib(Atribute a){
		
	}
	
	void deleteAttrib(Atribute a){
		
	}
	
	void addSonAtrib(Atribute a, TagXML t){
		
	}
	
	void deleteSonAtribut(Atribute a, TagXML t){
		
	}
	
	void addTag(TagXML t){
		
	}
	
	void deleteTag(TagXML t){
		
	}
}
